package com.mxsat.system;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableEurekaClient
@SpringBootApplication
@MapperScan("com.mxsat.system.mapper")
@ServletComponentScan
@ComponentScan(value={"com.mxsat"})
//com.baomidou.mybatisplus.spring.boot.starter
@EnableSwagger2
public class SystemApplication {
	
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }
}